@import "../../core/color.scss";
@import "../../core/function.scss";

.re-search-wrapper {
  @include pos;
  .form-control {
    padding-left: 34px;
    padding-right: 34px;
    &:focus {
      box-shadow: 0 2px 8px rgba($black,.1);
    }
  }
}
.re-search-btn {
  @include pos(absolute);
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  cursor: pointer;
  .re-icon {
    display: inline-block;
    color: $ccc;
    transform: translate(10px,4px);
  }
}
.re-search-list {
  @include pos(absolute);
  top: 33px;
  left: 0;
  right: 0;
  background: $white;
  border: 1px solid $border;
  box-shadow: 0 2px 8px rgba($black,.1);
  max-height: 200px;
  overflow: hidden;
  overflow-y: auto;
  z-index: 10;
  span {
    display: block;
    font-size: 1.4rem;
    line-height: 30px;
    padding: 0 20px;
    cursor: pointer;
    &:hover {
      background: $f2;
    }
  }
}